package com.li.youhappygo.model.entity.user;

import com.li.youhappygo.model.entity.BaseEntity;
import lombok.Data;
import io.swagger.v3.oas.annotations.media.Schema;

@Data
public class UserAddress extends BaseEntity {
    @Schema(description = "用户ID")
    private Integer userId;

    @Schema(description = "收货人姓名")
    private String name;

    @Schema(description = "收货人手机号")
    private String phone;

    @Schema(description = "地址标签名")
    private String tagName;

    @Schema(description = "省份代码")
    private String provinceCode;

    @Schema(description = "城市代码")
    private String cityCode;

    @Schema(description = "区县代码")
    private String districtCode;

    @Schema(description = "详细地址")
    private String address;

    @Schema(description = "完整地址")
    private String fullAddress;

    @Schema(description = "是否默认地址")
    private Integer isDefault;  // 对应TINYINT
}
